Warning fix in raymarine
authorRobert Lipe <robertlipe@gpsbabel.org>
Mon, 3 Dec 2018 06:47:50 +0000 (00:47 -0600)
committerRobert Lipe <robertlipe@gpsbabel.org>
Mon, 3 Dec 2018 06:47:50 +0000 (00:47 -0600)
raymarine.cc

index 0ae0455344f43dd936ad193ac4a70de9bee23285..c31ff362c0e9857da1b2628318834124accc96b9 100644 (file)
@@ -233,7 +233,7 @@ raymarine_read()
     char sect[10];
     QString name;
 
-    snprintf(sect, sizeof(sect), "Rt%d", rx);
+    snprintf(sect, sizeof(sect), "Rt%u", rx);
     name = inifile_readstr(fin, sect, "Name");
     if (name.isNull()) {
       break;